<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>input-number</title>
</head>
<body>
    <div id="app">
        <p>{{value}}</p>
        <input-number v-model="value" :max="10" :min="0"   ></input-number>
    </div>

<script src="../js/vue.js"></script>
<script src="input-number.js"></script>
<script>
    new Vue({
        el: '#app',
        data: {
            value: 5
        }
    })
</script>
</body>
</html>